for Export to Directory you must edit paths and default name 
at the top of the script as shown below [making sure you create 2 folders for the paths]

(define default-name 
"Graechan" ;----------------------------------->set default name here
)
;
(define default-dir 
"C:/Users/user/Desktop/Posted to GimpChat" ;--->set default path here
)
;
(define default-xcf-dir 
"C:/Users/user/Desktop/In progress" ;---------->set default xcf path here
)
;<----------->Do not edit below this line---------------------------------------->